From: Ian Jackson Date: Fri, 5 Oct 2018 17:07:18 +0000 (+0100) Subject: debian/rules: Copy config.{sub,guess} by hand X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~68 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5b0a145975f7994657440d81050b8451cd923697;p=xen.git debian/rules: Copy config.{sub,guess} by hand Signed-off-by: Ian Jackson --- diff --git a/debian/rules b/debian/rules index 6fb08381e1..f68f8150a5 100755 --- a/debian/rules +++ b/debian/rules @@ -148,11 +148,17 @@ override_dh_auto_clean: rm -f debian/xen-tools-built.stamp $(MAKE) -j1 distclean +# To avoid that the build dirties the tree, our delta queue deletes +# config.sub and config.guess. dh_update_autotools_config can get +# us fresh ones for each build, but it expects to find some there +# already with some weird properties. Instead, just copy them +# from /usr/share/misc (which is where it gets them anyway) +override_dh_update_autotools_config: + cp /usr/share/misc/{config.sub,config.guess} . + # Upstream has both a kconfig style configure for the hypervisor # and autoconfery for the tools (what we call the `utils'). override_dh_auto_configure: - dh_update_autotools_config - : cp debian/xen-kconfig xen/.config make -C xen olddefconfig $(make_args_xen) :